﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000F8D RID: 3981
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueMagicUnitReforgeScRsp : IMessage<RogueMagicUnitReforgeScRsp>, IMessage, IEquatable<RogueMagicUnitReforgeScRsp>, IDeepCloneable<RogueMagicUnitReforgeScRsp>, IBufferMessage
	{
		// Token: 0x17003271 RID: 12913
		// (get) Token: 0x0600B24F RID: 45647 RVA: 0x001E19CC File Offset: 0x001DFBCC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueMagicUnitReforgeScRsp> Parser
		{
			get
			{
				return RogueMagicUnitReforgeScRsp._parser;
			}
		}

		// Token: 0x17003272 RID: 12914
		// (get) Token: 0x0600B250 RID: 45648 RVA: 0x001E19D3 File Offset: 0x001DFBD3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueMagicUnitReforgeScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003273 RID: 12915
		// (get) Token: 0x0600B251 RID: 45649 RVA: 0x001E19E5 File Offset: 0x001DFBE5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueMagicUnitReforgeScRsp.Descriptor;
			}
		}

		// Token: 0x0600B252 RID: 45650 RVA: 0x001E19EC File Offset: 0x001DFBEC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMagicUnitReforgeScRsp()
		{
		}

		// Token: 0x0600B253 RID: 45651 RVA: 0x001E19F4 File Offset: 0x001DFBF4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMagicUnitReforgeScRsp(RogueMagicUnitReforgeScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600B254 RID: 45652 RVA: 0x001E1A19 File Offset: 0x001DFC19
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMagicUnitReforgeScRsp Clone()
		{
			return new RogueMagicUnitReforgeScRsp(this);
		}

		// Token: 0x17003274 RID: 12916
		// (get) Token: 0x0600B255 RID: 45653 RVA: 0x001E1A21 File Offset: 0x001DFC21
		// (set) Token: 0x0600B256 RID: 45654 RVA: 0x001E1A29 File Offset: 0x001DFC29
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x0600B257 RID: 45655 RVA: 0x001E1A32 File Offset: 0x001DFC32
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueMagicUnitReforgeScRsp);
		}

		// Token: 0x0600B258 RID: 45656 RVA: 0x001E1A40 File Offset: 0x001DFC40
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueMagicUnitReforgeScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600B259 RID: 45657 RVA: 0x001E1A70 File Offset: 0x001DFC70
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600B25A RID: 45658 RVA: 0x001E1AAF File Offset: 0x001DFCAF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600B25B RID: 45659 RVA: 0x001E1AB7 File Offset: 0x001DFCB7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600B25C RID: 45660 RVA: 0x001E1AC0 File Offset: 0x001DFCC0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600B25D RID: 45661 RVA: 0x001E1AF4 File Offset: 0x001DFCF4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600B25E RID: 45662 RVA: 0x001E1B32 File Offset: 0x001DFD32
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueMagicUnitReforgeScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600B25F RID: 45663 RVA: 0x001E1B63 File Offset: 0x001DFD63
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600B260 RID: 45664 RVA: 0x001E1B6C File Offset: 0x001DFD6C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 112U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x0400481C RID: 18460
		private static readonly MessageParser<RogueMagicUnitReforgeScRsp> _parser = new MessageParser<RogueMagicUnitReforgeScRsp>(() => new RogueMagicUnitReforgeScRsp());

		// Token: 0x0400481D RID: 18461
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400481E RID: 18462
		public const int RetcodeFieldNumber = 14;

		// Token: 0x0400481F RID: 18463
		private uint retcode_;
	}
}
